package com.example.shiwu.db.model;


import com.example.shiwu.db.annotation.DbFiled;
import com.example.shiwu.db.annotation.DbPrimaryKey;
import com.example.shiwu.db.annotation.DbTable;

@DbTable("tb_receive")
public class Receive {
    //    是不是 变量名
    @DbPrimaryKey(value = "id", isAuto = true)
    @DbFiled("id")
    public Integer id;
    @DbFiled("item_id")
    public Integer itemId;
    @DbFiled("gain")
    public String gain;//增益
    @DbFiled("filtration")
    private String filtration;//滤波
    @DbFiled("sampling_frequency")
    private String samplingFrequency;//采样频率
    @DbFiled("overlay")
    private Integer overlay;//叠加次数
    @DbFiled("receive_local")
    private String receiveLocal;//接收电极位置
    @DbFiled("create_time")
    private String createTime;
    @DbFiled("update_time")
    private String updateTime;

    public String getGain() {
        return gain;
    }

    public void setGain(String gain) {
        this.gain = gain;
    }

    public String getFiltration() {
        return filtration;
    }

    public void setFiltration(String filtration) {
        this.filtration = filtration;
    }

    public String getSamplingFrequency() {
        return samplingFrequency;
    }

    public void setSamplingFrequency(String samplingFrequency) {
        this.samplingFrequency = samplingFrequency;
    }

    public Integer getOverlay() {
        return overlay;
    }

    public void setOverlay(Integer overlay) {
        this.overlay = overlay;
    }

    public String getReceiveLocal() {
        return receiveLocal;
    }

    public void setReceiveLocal(String receiveLocal) {
        this.receiveLocal = receiveLocal;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Receive() {
    }

    public Receive(Integer itemId, String gain, String filtration, String samplingFrequency, Integer overlay, String receiveLocal) {
        this.itemId = itemId;
        this.gain = gain;
        this.filtration = filtration;
        this.samplingFrequency = samplingFrequency;
        this.overlay = overlay;
        this.receiveLocal = receiveLocal;
    }
}
